.page-layout {
  height: 100vh;
  .not-full-page {
    .layout-header,
    .right-layout-breadcrumb {
      display: block;
    }
  }
  .full-page {
    .layout-header,
    .right-layout-breadcrumb {
      display: none;
    }
  }
}

// 导航条
.layout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 58px;
  line-height: 58px;
  background-color: #fff;
  box-shadow: inset 0 1px 5px rgba(0, 21, 41, 0.2);

  .header-logo {
    display: flex;
    align-items: center;

    > img {
      height: 36px;
      margin-right: 20px;
    }
    > span {
      font-weight: bold;
      font-size: 22px;
    }
  }
}

/* 侧边栏 */
.logo-wrap {
  // margin-bottom: 150px;
  padding: 10px;
  // height: 48px;
  text-align: center;
  background: #fff;

  a {
    display: block;
    margin-bottom: 40px;
    line-height: 28px;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
  }
  .logo {
    img {
      width: 60px;
      height: 60px;
    }
  }
  .user-name {
    font-size: 18px;
    line-height: 40px;
  }
}

.menu-wrap {
  height: calc(100% - 120px);
  overflow: auto;
}

// 右侧区域
.right-layout {
  width: max-content;

  // 主内容
  &-content {
    padding: 20px;
    height: calc(100% - 100px);
    overflow: auto;
  }

  // 面包屑
  &-breadcrumb {
    // position: fixed;
    // top: 48px;
    // z-index: 1;
    // width: 100%;
    background-color: #fff;
    padding: 5px 0 5px 24px !important;
  }
}
// 折叠后样式
.ant-layout-sider-collapsed {
  .logo-wrap {
    width: 0;
    opacity: 0;
  }
}
// 加载权限loading
.all-scre {
  width: 100%;
  padding-top: 10%;
}
